package com.sharp.authorization.service.user;

import com.sharp.authorization.vo.user.FillUserInfoReq;
import com.sharp.authorization.vo.user.RealNameReq;
import com.sharp.authorization.vo.user.UserInfoRes;

/**
 * Title: UserService
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2020/4/3 18:44
 * @description Project Name: Mall
 * @Package: com.srct.service.account.service
 */

public interface UserInfoService {

    /**
     * 获取用户信息
     *
     * @return 用户信息
     */
    UserInfoRes getUserInfo();

    /**
     * 完善用户信息
     *
     * @param req 用户填写的用户信息
     */
    void fillUserInfo(FillUserInfoReq req);

    /**
     * 实名认证
     *
     * @param req
     */
    void realName(RealNameReq req);

    /**
     * 设置头像地址
     *
     * @param avatar 头像地址
     */
    void setAvatar(String avatar);

    /**
     * 设置头像地址
     *
     * @param customerNumber
     * @param avatar
     */
    void setAvatar(String customerNumber, String avatar);
}
